package com.yh.workbill.db;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "t_unitcompany")
public class UnitCompany {
    @PrimaryKey(autoGenerate = true)
    private long id;
    @ColumnInfo(name = "usename")
    private String use_name;

    public UnitCompany(String use_name) {
        this.use_name = use_name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUse_name() {
        return use_name;
    }

    public void setUse_name(String use_name) {
        this.use_name = use_name;
    }
}
